<div class="blockcms" >
    <div class="blocktitle">
        <h3>
<?php
$currentPage = $this->currentPage;

if ($currentPage) {
    // check exists parent
    if ($currentPage['all_parent']) {
        $allParent = explode(',', $currentPage['all_parent']);
        if (isset($allParent[0])) {
            $allCategory = $this->allCategory;
            foreach($allParent as $parentID):
                $parent = $allCategory[$parentID];
                // check to ignore root
                if ($parent['left'] != 1) {
                ?>
                    <a href="<?php echo BASE_PATH . '/' . CURR_APP ?>?pid=<?php echo $parent['category_id']?>"><?php echo $parent['admin_title'];?></a> >> 
                <?php
                }
            endforeach;
        }
        echo @$currentPage['admin_title'];
    }
}
?>

        </h3>
    </div>
        <div class="content">
            <table cellspacing="0" cellpadding="0" width="100%">
                <tr>
                    <td class="centerleft"></td>
                    <td class="centercontent" style="width:540px">

<?php

if ($currentPage) {
?>
<div style="padding-top: 10px;width:600px;">
                                    <?php
                                    echo @$currentPage['description'];
                                    ?>
</div>
<?php
} // if has item
?>

                    </td>
                    <td class="centerright"></td>
                </tr>
            </table>
        </div>
</div>
